/*-----------------------------------------*/
/****************公用样式*******************/
/*-----------------------------------------*/
.clear-both::after {
  clear: both;
  content: ".";
  display: block;
  visibility: hidden;
  height: 0;
}
.lf {
  float: left;
}
.rt {
  float: right;
}
.transition {
  -webkit-transition: all .5s ease;
  -o-transition: all .5s ease;
  -moz-transition: all .5s ease;
  transition: all .5s ease;
}
.transform-scale {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}
.hover-transform-scale {
  -webkit-transform: scale(1.05);
  -moz-transform: scale(1.05);
  -ms-transform: scale(1.05);
  transform: scale(1.05);
}
.ellipsis {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
.text-ban {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -khtml-user-select: none;
  user-select: none;
}
.track-list {
  scrollbar-face-color: #c7c7c7;
  scrollbar-highlight-color: #c7c7c7;
  scrollbar-3dlight-color: #c7c7c7;
  scrollbar-darkshadow-color: #c7c7c7;
  scrollbar-Shadow-color: #c7c7c7;
  scrollbar-arrow-color: #c7c7c7;
  scrollbar-track-color: #ebebeb;
}
.track-list::-webkit-scrollbar {
  width: 7px;
  height: 9px;
}
.track-list::-webkit-scrollbar-button:end:increment,
.track-list::-webkit-scrollbar-button:start:decrement {
  display: block;
  height: 0;
  background-color: transparent;
}
.track-list::-webkit-scrollbar-track-piece {
  -webkit-border-radius: 0;
  -webkit-border-bottom-right-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
  background: #ebebeb;
}
.track-list::-webkit-scrollbar-thumb:vertical {
  height: 50px;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-border-radius: 4px;
}
.track-list::-webkit-scrollbar-thumb:horizontal {
  width: 50px;
  background-color: rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 4px;
}


/**************************/
/********页面样式**********/
/**************************/
.container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/*此处为每条弹幕的样式*/
.container .list {
  position: absolute;
  left: 100%;
  white-space: nowrap;
  height: 2.5rem;
  line-height: 2.5rem;
  -webkit-transition: -webkit-transform 25s linear;
  -moz-transition: -moz-transform 25s linear;
  -o-transition: -o-transform 25s linear;
  transition: transform 25s linear;
  z-index: 10;
  background-color:rgba(245,36,47,0.7);
	border-radius: 25px;
	padding-right:1.7rem;
}
/*此处弹幕的移动动画，使用transform不会引起页面的重绘，性能更好*/
.container .list.animate {
  -webkit-transform: translateX(-3420px);
  -moz-transform: translateX(-3420px);
  -ms-transform: translateX(-3420px);
  -o-transform: translateX(-3420px);
  transform: translateX(-3420px);
}
.container .list .content {
  display: inline-block;
  opacity: 1;
}
.container .list img {
	display: inline;
  width: 2.1rem;
  height: 2.1rem;
  margin-right: 7px;
  border-radius: 50%;
  vertical-align: text-top;
  margin-top: -3px;
  margin-left: 4px;
}
.container .list span{
	 font-size: 1.1rem;
   color: #fff;
}
